package com.yike.order.service;

import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.order.entity.AssetStatement;
import com.yike.order.param.AssetStatementPageParam;

/**
 * 资产流水 服务类
 *
 * @author yike
 * @since 2024-07-17
 */
public interface AssetStatementService extends BaseService<AssetStatement> {

    /**
     * 保存
     *
     * @param assetStatement
     * @return
     * @throws Exception
     */
    boolean saveAssetStatement(AssetStatement assetStatement) throws Exception;

    /**
     * 修改
     *
     * @param assetStatement
     * @return
     * @throws Exception
     */
    boolean updateAssetStatement(AssetStatement assetStatement) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteAssetStatement(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param assetStatementPageParam
     * @return
     * @throws Exception
     */
    Paging<AssetStatement> getAssetStatementPageList(AssetStatementPageParam assetStatementPageParam) throws Exception;

}
